﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Skynet.WebSite.Demos
{
    /// <summary>
    /// Summary description for badHandler
    /// </summary>
    public class badHandler : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {

            foreach (var item in context.Request.Form.AllKeys)
            {
                context.Response.Write("</br>" + item + ": " + context.Request.Form[item]);                
            }
         //   context.Response.Redirect("CSSAttack.aspx?msg=Welcome");            
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}